package com.cheejee.goodscenter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.cheejee.goodscenter.module.entity.Specific;
@Mapper
public interface SpecificMapper {
    int deleteByPrimaryKey(Long id);

//    int insert(Specific record);

    int insertSelective(Specific record);

    Specific selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Specific record);

//    int updateByPrimaryKey(Specific record);

	/**
	 *
	 * @param categoryId
	 * @param specificName
	 * @return
	 */
	List<Specific> selectBySelective(@Param("categoryId")Integer categoryId, @Param("specificName")String specificName);
}